import { createApp } from "vue"
import App from "./App.vue"
import router from "@/router"
import store, { setupStore } from "@/store"
import "normalize.css"
import "@/assets/css/index.less"

import registerPlugins from "./plugins/register-plugins"

// 导入自定义指令

const app = createApp(App)

// 刷新页面store重新载入数据
setupStore()
// 注册全局组件
app.use(registerPlugins)
app.use(router).use(store).mount("#app")
